package com.mt.service;

import com.mt.VO.ExpectNumVO;

import java.util.List;
import java.util.Map;

/**
 * @author Wang
 * @Description TODO
 * @date 2021/1/19-16:44
 */
public interface ExpectNumService {
    int getExpectStatus(String userId, int filmId);

    boolean addExpect2Redis(String userId, int filmId, int Status);

    boolean addExpectList(List<ExpectNumVO> list);

    boolean modifyExpectList(List<ExpectNumVO> list);

    boolean saveExpectList2Db(List<ExpectNumVO> list);

    boolean countExpectTotalNum(Map<Integer, Integer> Map);
}
